home *** CD-ROM | disk | FTP | other *** search
- #==============================================================
- #========================= Mission 04 =========================
- #==============================================================
-
- #With this function Fragile Engine will load background image
- #USING: loadBackground(backgroundPath)
- #loadBackground(back/back1.jpg, 7819)
- loadBackground(, 10000)
-
-
- #When you finished loading of your background you have to initialize its moving speed
- #You can change moving speed every time as you can
- #USING: initBackground(startPixel, moveStep)
- initBackground(0, 10)
-
- #This function sets how often and where will enemies appear and when is time to stop
- #USING: startRandEnemy(startPixel, delayBtwTwo, plusMinDelayBtwTwo, id, xMin, xMax, PlusMinusShipDelay, stopPixel)
- startRandEnemy(300, 1000, 200, 12, 0, 750, 5, 9000)
- startRandEnemy(300, 1000, 200, 10, 0, 750, 5, 9000)
- startRandEnemy(9000, 300, 200, 10, 0, 750, 5, 10000)
-
- startRandEnemy(10000, 1500, 200, 15, 0, 750, 5, 15000)
- startRandEnemy(10000, 1500, 200, 12, 0, 750, 5, 15000)
- startRandEnemy(15000, 1500, 200, 10, 0, 750, 5, 20000)
- startRandEnemy(15000, 1800, 200, 12, 0, 750, 5, 20000)
- startRandEnemy(15000, 1800, 200, 11, 0, 750, 5, 20000)
-
-
- #USING: specEnemy(enemyBaseID, x, startY, isBoss, end)
- specEnemy(12, 100, 20100, 0, 1)
-
-
- #USING: execute(scriptPath)
- execute(missions\explosions.dat)
- execute(missions\enemy0.dat)
- execute(missions\fighter2.dat)
- execute(missions\fighter1.dat)
- execute(missions\fighter0.dat)
- execute(missions\text3.dat)